package com.msy.rabbit.demo.dao;

import com.msy.rabbit.demo.pojo.Order;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderRepository extends JpaRepository<Order, Long> {

    List<Order> findByState(String state);
}
